// 接口公共拼接
export const INTERFACE_API = 'api';

export const INTERFACE_ADMIN = 'admin';
// 根据文件id请求
export const BACK_TO_FILE = '/admin/sys-file/fileById/';

// 控制弹层点击空白处是否可关闭
export const CLOSE_ON_CLICK_MODAL = false;

// 控制按钮大小
export const ELEMENT_UI_SIZE = 'small';

// 公安协查上传
export const UPLOADING_API_GONGAN = "/admin/sys-file/bucket/upload?bucketName=family";

// 公安协查附件上传类型限制
export const ATTACHMENT_TYPE = ".jpg,.jpeg,.png,.docx,.xls,.xlsx,.pdf,.pcm,.mp3,.m4a,.rar,.zip";

// 码值使用 映射 里面的注释并不是说只有对应得那个菜单引用，只是第一次写的时候是那个菜单引用
export const BASE_REDIRECT_PARAM = {
    // 公共
    gender: 'GENDER',
    // 受助人信息
    personStatus: 'PERSON_STATUS',
    no_push_channel: 'issued_channel',
    pushChannel: 'push_channel',
    pushStatus:'push_status',
    pushResult:'push_result',
    // 联系情况核实
    contactResult:'CONTACT_RESULT',
    // 亲友信息
    relationship:'RELATIONSHIP',
    physicalCondition:'PHYSICAL_CONDITION',
    educationalLevel:'EDUCATIONAL_LEVEL',
    // 寻亲登记信息
    isPush:'YES_NO_NUMBER',
    tracingRelativeStatus:'TRACING_RELATIVE_STATUS',
    // 头条推送情况
    headlinePush:'YES_NO_NUMBER',
    // 寻亲结果登记
    trrFamilyGender:'GENDER',
    trrFamilyRelation:'FAMILY_RELATION',
    tracingResult:'tracing_result',
    // DNA采集情况
    dnaCollectionResult:'DNA_COLLECT',
    noticeCollectionDna:'DNA_NOTICE',
    // 购票信息
    buyTicket: 'YES_NO',
    // 护送记录
    escortStatus:'ESCORT_STATUS',
    // 探访记录
    tracingResultVisit:'TRAC_RESULT_RIGS',
    // 人员信息
    fingerprintStatus:'YES_NO',
    idType:'ID_TYPE',
    nation:'NATION',
    // 匹配结果
    tableFlag:'compare_source',
    handleStatus:'handle_status',
    // 匹配目标信息
    bloodType:'BLOOD_TYPE',
    bodyDisability:'YES_NO',
    curlyHair:'CURLY_HAIR',
    extractedDna:'YES_NO',
    hairColor:'HAIR_COLOR',
    limbDisability:'YES_NO',
    posture:'POSTURE',
    comparResult:'compare_result',
    verifyStatus:'verify_status',
    clueSource:'clue_source',

    //来站方式
    wayToStation:'WAY_TO_STATION',
    //精神状态
    mentalState:'MENTAL_STATE',
    searchItem: 'search_item',
    // 口音
    accentStatus: 'accent_status',

    verify:'verify_status',
    // 访谈登记
    interviewType:'interview_type',

    assistStatus:"assist_status",

    isRegister:'YES_NO_NUMBER',

    isDeleted:'YES_NO_NUMBER',

    verifySituation:'accent_status',

    feedbackSource:'push_channel',

    isRead:'is_read',

    intellectDisability:'intellect_disability',
}
// 匹配结果的处理状态转换对应得tag类型
export const  HANDLE_STATUS_TAG_TYPE  = {
    0:'warning',
    1:'success'
}
// 公安协查内容
export const investigationData =[
    {
        "label": "DNA采集比对",
        "value": "1",
    },
    {
        "label": "人像识别",
        "value": "2",
    },
    {
        "label": "户籍身份查询",
        "value": "3",
    },
    {
        "label": "指纹比对",
        "value": "4",
    },
]
// 指定展示人员状态
export const PERSONS_STATUS ='1,2,3';

// 过滤核实状态
export const ACCENT_STATUS_EXCLUSION = '0,2';

export const TRACING_RELATIVE_STATUS ='4';

export const PERSONS_FILTER_TYPE = true;

// 寻亲状态 成功和失败
export const TRACING_RELATIVE_STATUS_TRUE = '2,3'
// 文件上传格式限制
export const    FILE_LIMIT = [
    '.jpg','.jpeg','.png','.gif','.bmp','.wmv','.mpeg','.mp4','.doc','.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.html',
    '.htm', '.txt', '.pdf', '.rar', '.zip', '.gz', '.bz2'

]
// 视频上传格式限制
export const    VIDEO_LIMIT = [
    '.wmv','.mpeg','.mp4'

]
// 图片上传格式限制
export const    IMAGE_LIMIT = [
    '.jpg','.jpeg','.png','.gif','.bmp'

]
